package com.wangijun.yuan.admin.system.model.dto;

import com.wangijun.yuan.admin.system.model.em.EnableStatus;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Size;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
@Schema(description = "角色保存参数")
public class RoleSaveParam {
    @Schema(description = "状态")
    private EnableStatus status;
    @Schema(description = "角色名称")
    private String name;
    @Size(min = 1, message = "菜单信息不可为空")
    @Schema(description = "权限信息")
    private List<Long> menuIds;
}
